home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
001-025
/
disk_023
/
ver30
/
tty
/
termcap
/
makefile.tc
next >
Wrap
Makefile
|
1992-05-06
|
1KB
|
69 lines
# Makefile for MicroEMACS.
# Is there a better way to do the rebuilds, other than using
# the links?
SYS = ultrix
TTY = termcap
LIBS = -ltermcap
CFLAGS = -O
DEST = /u/paul/bin/m
OBJ = basic.o \
buffer.o \
cinfo.o \
display.o \
echo.o \
extend.o \
file.o \
kbd.o \
line.o \
main.o \
random.o \
region.o \
search.o \
symbol.o \
version.o \
window.o \
word.o \
fileio.o \
spawn.o \
ttyio.o \
tty.o \
ttykbd.o
xemacs: $(OBJ)
cc -o xemacs $(OBJ) $(LIBS)
$(OBJ): def.h sysdef.h ttydef.h
sysdef.h: sys/$(SYS)/sysdef.h # Update links, if needed.
rm -f sysdef.h
ln sys/$(SYS)/sysdef.h .
ttydef.h: tty/$(TTY)/ttydef.h
rm -f ttydef.h
ln tty/$(TTY)/ttydef.h .
fileio.c: sys/$(SYS)/fileio.c
rm -f fileio.c
ln sys/$(SYS)/fileio.c .
spawn.c: sys/$(SYS)/spawn.c
rm -f spawn.c
ln sys/$(SYS)/spawn.c .
tty.c: tty/$(TTY)/tty.c
rm -f tty.c
ln tty/$(TTY)/tty.c .
ttyio.c: sys/$(SYS)/ttyio.c
rm -f ttyio.c
ln sys/$(SYS)/ttyio.c .
ttykbd.c: tty/$(TTY)/ttykbd.c
rm -f ttykbd.c
ln tty/$(TTY)/ttykbd.c .
install: xemacs
cp xemacs $(DEST)